package com.strelitzia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.strelitzia.entity.PhotoEntity;
import com.strelitzia.exception.StrelitziaException;
import com.strelitzia.vo.PhotoItem;
import com.strelitzia.vo.UploadFrom;
import com.strelitzia.vo.UploadItem;

import java.util.List;

/**
 * @create 2024/1/12 14:50
 */
public interface PhotoService extends IService<PhotoEntity> {
    void upload(UploadFrom uploadFrom);

    List<PhotoItem> getList(Integer albumId) throws StrelitziaException;

    List<PhotoItem> getDelList();

    void restore(Integer id);

    void clear();

    void del(Integer id);

    List<UploadItem> getAllList();

}
